package com.gdkj.constant;

import com.xjgks.common.constant.HttpResultConstants;

import java.util.HashMap;
import java.util.Map;

public class CodeMessage {

    public static final Map<Integer, String> ERROR_CODE = new HashMap<Integer, String>() {
        {
            put(HttpResultConstants.SUCCESS_CODE, "成功");
            put(HttpResultConstants.FAIL_CODE, "参数错误");
            put(HttpResultConstants.EXCEPTION_CODE, "系统异常");
            put(CodeConstants.TOKEN_AUTH_FAIL_CODE, "token认证失败");
            put(CodeConstants.COMMON_REQUEST_LIMIT_CODE, "请求过于频繁");
            put(CodeConstants.REAL_NAME_AUTH_ERROR, "请先进行身份认证或等待审核");
            put(CodeConstants.MAINTAINING, "系统维护中");
            put(CodeConstants.USER_DISABLE, "用户已被禁用");
            put(CodeConstants.REPEAT_PLAY_TYPE_ERROR, "复播类型错误");
            put(CodeConstants.USER_REPEAT_PLAY, "复播成功");
            put(CodeConstants.BLACKED_BY_USER, "你已被该用户拉黑");
            put(CodeConstants.KICK_BY_USER, "你已被踢出房间");
            put(CodeConstants.MIKE_NUMBER_ERROR, "麦位号错误，不存在");
            put(CodeConstants.USER_ALREADY_AT_MIKE, "你已在麦上");
            put(CodeConstants.USER_INFO_NOT_EXIST, "用户信息不存在");
            put(CodeConstants.ROOM_INFO_NOT_EXIST, "房间已关闭");
            put(CodeConstants.MIKE_INFO_NOT_EXIST, "麦位信息不存在");
            put(CodeConstants.MIKE_HAVE_USER, "请尝试其他麦位");
            put(CodeConstants.ONLINE_USER_SET_DATA_NOT_EXIST, "用户在线数据异常");
            put(CodeConstants.USER_NOT_AT_MIKE, "用户不在麦上");
            put(CodeConstants.MIKE_FORBIDDEN, "当前麦位被封");
            put(CodeConstants.ROOM_STOPPED, "房间已关闭");
            put(CodeConstants.ROOM_NUMBER_USE_COMPLETE, "房间号已使用完毕");
            put(CodeConstants.NOT_HAVE_EMPTY_MIKE, "已无空闲麦位");
            put(CodeConstants.MIKE_INVITING, "邀请已发送");
            put(CodeConstants.USER_NOT_EXIT, "用户不存在");
            put(CodeConstants.BLACK_BY_USER, "你已将该用户拉黑");
            put(CodeConstants.ROOM_BASE_INFO_ERROR, "房间信息更新失败");
            put(CodeConstants.HIT_IP_BLACK_LIST, "404-网络请求失败，请重试");
            put(CodeConstants.HIT_DEVICE_BLACK_LIST, "404-网络请求失败，请重试");
            put(CodeConstants.MIKE_BANING, "上麦限制中");
            put(CodeConstants.DRAW_GUSS_LIMIT, "你画我猜限制上麦");
            put(CodeConstants.ALREADY_EXIT_ROOM, "主播退出房间");
            put(CodeConstants.AUDIENCE_ALREADY_EXIT_ROOM, "用户退出房间");
            put(CodeConstants.ALREADY_INVITING_REPEAT, "已经邀请过了，请稍后重试");
            put(CodeConstants.USER_FORBIDDEN_PLAY, "您因违反相关规定被永久禁播");
            put(CodeConstants.DRAW_GUSS_LEAVE_MIKE_ERROR, "你画我猜强非准备和等待阶段无法下麦");
            put(CodeConstants.DO_NOT_HAVE_ROOM, "没有房间信息");
            put(CodeConstants.USER_COIN_NOT_ENOUGH, "用户金币不足");
            put(CodeConstants.USER_K_COIN_NOT_ENOUGH, "用户k钻不足，金币可以兑换");
            put(CodeConstants.FILLING_OTHER_USER_SUCCESS, "填土成功");
            put(CodeConstants.FILLING_FAIL_SHIELD_SUCCESS, "填土失败，对方用护盾成功抵挡");
            put(CodeConstants.FILLING_FAIL_TODAY_LIMIT_REACHED, "填土失败，对方今日已达上限");
            put(CodeConstants.NO_USER, "用户不存在");
            put(CodeConstants.USER_HAS_RECEIVE, "用户已领取过初始钻石，不能重复领取");
            put(CodeConstants.NO_SIGN_CONTROLL, "用户未开启签到功能");
            put(CodeConstants.HAS_SIGN, "用户今日已签到");
            put(CodeConstants.USER_K_BEAN_NOT_ENOUGH, "用户金豆不足");
            put(CodeConstants.USER_ACCOUNT_MODIFIED, "修改次数已达上限");
            put(CodeConstants.USER_ACCOUNT_EXIST, "账号已存在");
            put(CodeConstants.USER_ACCOUNT_FORBIDDEN, "账号包含敏感信息，请修改");
            put(CodeConstants.CLOSE_SMALL_HOUSE_TIME_OUT, "用户当天被关小黑屋时间已经用完");
            put(CodeConstants.SMALL_HOUSE_QUANTITY_NOT_ENOUGH, "用户小黑屋道具不足");
            put(CodeConstants.FILLING_SUCCESS_PART_BY_SHIELD, "填土部分成功(护盾抵挡)");
            put(CodeConstants.FILLING_SUCCESS_PART_BY_LIMIT_REACHED, "填土部分成功(达到上限)");
            put(CodeConstants.NOT_IN_RANGE, "请输入范围内数字");
            put(CodeConstants.GAMING_MIKE_LIMIT, "游戏中不能上麦");
            put(CodeConstants.CHILDREN_MACHINE_SIGN_ERROR, "签名错误");
            put(CodeConstants.CHILDREN_MACHINE_SIGN_EXPIRED, "请求签名已过期");
            put(CodeConstants.CHILDREN_MACHINE_USER_COIN_NOT_ENOUGH, "用户金币不足，需要充值");
            put(CodeConstants.VIP_LEVEL_NOT_ENOUGH, "无法进入，请提升VIP等级");
            put(CodeConstants.ORDER_NOT_EXIST, "order not exist");
        }
    };
}
